package com.db;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;


public class NewsTab extends Activity {
    /** Called when the activity is first created. */

	WebView newsBrowser;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.news);
        newsBrowser = (WebView) findViewById(R.id.newsBrowser);
        newsBrowser.loadUrl("http://www.kfc.com.ph/");
        newsBrowser.getSettings().setJavaScriptEnabled(true);
        newsBrowser.getSettings().setSupportZoom(true);
        
	}
	
	public void onResume(){
		super.onResume();
        newsBrowser.loadUrl("http://www.kfc.com.ph/");
	}
	
    
    
}




